<?php $this->pageTitle = 'Редактирование статьи' ?>
<?php if (isset($articles)): ?>
<ul>
<?php foreach ($articles as $id => $a): ?>
	<li>
		<?php echo $a['Article']['title'] ?>
		st(<?php echo $a['Article']['status_id'] ?>)
		<a href="/articles/edit/<?php echo $a['Article']['id'] ?>">edit</a></li>
<?php endforeach ?>
</ul>

<?php elseif ($edit): ?>
	<?php echo $this->element('articles/form') ?>
<?php endif ?>

